import type { MENU } from "@/types/permission"

// 利用权限表示目录
export const permissions: MENU[] = [
  {
    title: "首页",
    icon: "HomeFilled",
    index: "/home",
    isPublic: true,
    disabled: true,
  },
  {
    title: "用户管理",
    icon: "UserFilled",
    index: "/user",
  },
  {
    title: "角色管理",
    icon: "WalletFilled",
    index: "/role",
  },
  {
    title: "学员管理",
    icon: "Avatar",
    index: "4",
    children: [
      {
        title: "学校管理",
        icon: "School",
        index: "/school",
      },
      {
        title: "专业管理",
        icon: "HelpFilled",
        index: "/major",
      },
      {
        title: "班级管理",
        icon: "Management",
        index: "/class",
      },
      {
        title: "学生管理",
        icon: "Stamp",
        index: "/student",
      },
    ],
  },
]
